from google.appengine.ext import db
import Account

# Class Calendar: name, key, key of admin, status (open or closed boolean), 
# list of shifts, (closing date eventually - for now, manual)
# Short cal
class Calendar(db.Model):
	name = db.StringProperty()
	adminKey = db.ReferenceProperty(Account.Admin)
	isClosed = db.BooleanProperty()
	shifts = db.ListProperty(db.Key)